<div>
    <div id="applications" ng-class="{faded:stickyNavigation}"> 
        <ul class="sections">
            <li class="avatar">
                <a href="#" ng-click="avatarClick()" hotkey="ctrl+shift+u" title="{{user.name}}" prevent-default>
                    <img id="avatar-img" ng-src="{{avatar}}" />
                </a>
            </li>
            <li ng-repeat="section in sections | limitTo: maxSections" ng-class="{current: section.alias == currentSection}">
                <a href="#/{{section.alias}}"
                   ng-dblclick="sectionDblClick(section)"
                   ng-click="sectionClick(section)"
                   prevent-default>
                    <section-icon icon="{{section.cssclass}}"></section-icon>  
                    <span>{{section.name}}</span>
                </a>
            </li>
            
            <li class="expand" ng-show="needTray">
                <a href ng-click="trayClick()">
                    <i class="icon icon-arrow-right"></i>
                </a>
            </li>

            <li class="help">
                <a href class="help" hotkey="ctrl+shift+h" ng-click="helpClick()" prevent-default>
                    <i class="icon-help-alt"></i>
                    <span><localize key="sections_help">Help</localize></span>
                </a>
            </li>
        </ul>
    </div>

    <div id="applications-tray" ng-show="showTray" ng-animate="trayAnimation()">
        <ul class="sections sections-tray">
            <li ng-repeat="section in sections | limitTo: overflowingSections" ng-class="{current: section.alias == currentSection}">
                <a href="#/{{section.alias}}"
                   ng-dblclick="sectionDblClick(section)"
                   ng-click="sectionClick(section)"
                   prevent-default>
                    <section-icon icon="{{section.cssclass}}"></section-icon>  
                    <span>{{section.name}}</span>
                </a>
            </li>
        </ul>
    </div>
</div>